/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-04-26
 * Time: 15:31
 */
public class Test {
    public static void main(String[] args) {
        BinarySearchTree bt = new BinarySearchTree();
        bt.insert(5);
        bt.insert(3);
        bt.insert(10);
        bt.insert(6);
        System.out.println(bt.search(5).val);
    }

}
